package by.grsu.pps.domain;

import by.grsu.pps.service.IPublication;

public class Publication implements IPublication {

	private Integer id;
	private PublicationType type;
	private String name;
	private Integer price;

	public Publication(Integer id, PublicationType type, String name,
			Integer price) {
		super();
		this.id = id;
		this.type = type;
		this.name = name;
		this.price = price;
	}

	public Integer getId() {
		return id;
	}

	public PublicationType getType() {
		return type;
	}

	public void setType(PublicationType type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

}
